package com.yuncommunity.runcircle.util;

/**
 * Created by oldfeel on 11/24/15.
 */
public class MyUtil {
    /**
     * @param weight   体重(kg)
     * @param distance 距离(m)
     * @return 千卡路里(kcal)
     */
    public static int getCalories(double weight, double distance) {
        return (int) (weight * distance * 1.036 / 1000);
    }
}
